//1·仪表盘  2·饼图  3·雷达图   4·折线图  5·横向柱状图  横向堆叠柱状图   6·纵向柱状图  7·3D柱形图   8·中国地图   9·3D地球 10.关联图


//仪表盘:was
var gauge1 = echarts.init(document.getElementById('gauge1'));
gauge1Option = {
	grid:{left:'10',right:'10',top:'0',bottom:'10'},
	series: [ {
		name: '信用分',type: 'gauge',startAngle: 180,endAngle: 0,radius: '150%', min: 0,max: 100,center: ['50%', '95%'],
		axisLine: {show: true,lineStyle: {width: 10,shadowBlur: 0,color: [[0.33, '#048df5'],[0.66, '#ddc642'],[1, '#e90035']]}},
		axisTick: {show: false},splitLine: {show: false},axisLabel: {show:false,},pointer: {show: false,},
		detail: {offsetCenter: [0, -15],textStyle: {fontSize: 16},formatter: "CPU-{value}%",},
		data: [{name: "",value:66}]
	}]
};
gauge1.setOption(gauge1Option);

/*仪表盘:刻度*/
var cpu_echarts = echarts.init(document.getElementById("cpu_echarts"));
var cpu_echarts_option = {
    backgroundColor: '#000',
	tooltip: {
		formatter: "{b}:{c}"},
	series: [{
			name: '速度',type: 'gauge',radius: '90%',center:["50%", "70%"], min: 0,max: 100,startAngle: 180,endAngle: 0,
			axisLine: {lineStyle: {width: 3,color: [[1, '#1da6d0']],}},
			axisLabel: {show: false,},
			axisTick: {length: 5,lineStyle: {color: '#1da6d0',}},
			splitLine: {length: 10,lineStyle: {width: 2,color: '#1da6d0',}},
			pointer: {width: 3,},
			title: {offsetCenter: [0, '-130%'],textStyle: { fontSize: 14,color: '#fff',}},
			detail: {shadowBlur: 5,offsetCenter: [0, '30%'],textStyle: {color: '#fff',fontSize:12,}},
			data: [{value: 40,name: 'CPU'}]
		},
		
	]
};
setInterval(function() {
	cpu_echarts_option.series[0].data[0].value = (Math.random() * 100).toFixed(2) - 0;
	cpu_echarts.setOption(cpu_echarts_option);
}, 2000)

/*仪表盘:渐变双圈*/
option = {
  backgroundColor: '#132140',
  tooltip: {
    formatter: "{a}:{c}%"
  },
  series: [
    {
      type: 'gauge',radius: '80%',min: 0,max: 100,startAngle: 200,endAngle: -20,splitNumber: 10,
      axisLine: {lineStyle: {color: [[1, '#3E789F']],width: 2}},
      axisTick: {show: false},
      detail: {show: false},
      splitLine: {show: false},
      axisLabel: {show: false}
    },
    {
      name: 'CPU',type: 'gauge',min: 0,max: 100,startAngle: 200,endAngle: -20,
      detail: {formatter: '{value}'},
      data: [{value: 50, name: ''}],
      axisLine: {
        lineStyle: {
          /*color: [
            [0.1, new echarts.graphic.LinearGradient(0, 0, 1, 0,[{offset: 0, color: '#5ff000'},{offset: 1, color: '#6fe700'}])],
            [0.2, new echarts.graphic.LinearGradient(0, 0, 1, 0,[{offset: 0, color: '#6fe700'},{offset: 1, color: '#86da00'}])],
            [0.3, new echarts.graphic.LinearGradient( 0, 0, 1, 0,[{offset: 0, color: '#86da00'},{offset: 1, color: '#bebc00'}])],
            [0.4, new echarts.graphic.LinearGradient(0, 0, 1, 0,[{offset: 0, color: '#bebc00'},{offset: 1, color: '#ff9500'}])],
            [0.5, new echarts.graphic.LinearGradient(0, 0, 1, 0,[{offset: 0, color: '#ff9500'},{offset: 1, color: '#ff7500'}])],
            [0.6, new echarts.graphic.LinearGradient(0, 0, 1, 0,[{offset: 0, color: '#ff7500'},{offset: 1, color: '#ff5400'}])],
            [0.7, new echarts.graphic.LinearGradient(0, 0, 1, 0,[{offset: 0, color: '#ff5400'},{offset: 1, color: '#ff3600'}])],
            [0.8, new echarts.graphic.LinearGradient(0, 0, 1, 0,[{offset: 0, color: '#ff3600'},{offset: 1, color: '#ff1d00'}])],
            [0.9, new echarts.graphic.LinearGradient(0, 0, 1, 0,[{offset: 0, color: '#ff1d00'},{offset: 1, color: '#ff0700'}])],
            [1, new echarts.graphic.LinearGradient(0, 0, 1, 0,[{offset: 0, color: '#ff1d00'},{offset: 1, color: '#ff0700'}])]    
          ]*/
            width: 20,
            color: [
	        	[1, new echarts.graphic.LinearGradient(0, 0, 1, 0, [
	        		{offset: 0,color: 'rgba(112,255,172,1)'},
	        		{offset: 0.5,color: 'rgba(0,162,255,1)'},
	        		{offset: 1,color: '#ff0100'}
	        	])],
	        	[
	          		1, 'rgba(112,255,172,1)'
	        	]
	      	]
        }
      },
      axisLabel: {show: false},
      axisTick: {show: false},
      splitLine: {show: false},
      detail: {offsetCenter: [0, 30],color: '#fff'}
    },
    {
      type: 'gauge',radius: '63%',min: 0,max: 100,startAngle: 200,endAngle: -20,splitNumber: 10,
      axisLine: {lineStyle: {color: [[1, '#3E789F']],width: 2}},
      axisTick: {show: true,length: 16,lineStyle: {color: '#3E789F'}},
      detail: {show: false},
      splitLine: {show: true,length: 20,lineStyle: {color: '#3E789F'}},
      axisLabel: {show: true,color: '#fff',fontSize: 24}
    }
  ]
}




/*象形图：cpu、磁盘等*/
option = {
    backgroundColor: '#000',
    grid: [{top: 0,right: 10,bottom: 0,left: 100,}],
    xAxis: {show: false},
    yAxis: {
        show: true,
        axisLabel: {color: '#fff',fontSize: 16,},
        axisLine: {show: false},
        data: ['违规外联', '拒绝服务']
    },
    series: [
        {
            type: 'pictorialBar',z: -1,
            symbol: 'rect',symbolRepeat: true,symbolSize: 20,
            itemStyle: {normal: {color: '#1F4683'}},
            data: [100, 100],
            animationEasing: 'elasticOut',
            animationDelay: function(dataIndex, params) {return params.index * 30;}
        }, 
        {
            type: 'pictorialBar',
            symbol: 'rect',symbolRepeat: true,symbolSize: 20,
            itemStyle: {normal: {color: '#6DE8FA'}},
            data: [77, 48],
            label: {
                normal: {
                    show: true,
                    position: 'right',
                    color: '#6DE8FA',
                    fontSize: 20
                }
            },
            animationEasing: 'elasticOut',
            animationDelay: function(dataIndex, params) {return params.index * 30 * 1.1}
        }, 
       
    ],
    animation: true
}


//基础饼图
var attack21 = echarts.init(document.getElementById('attack2-1'));
var attack21Option = {
   	title: {text: '----饼图----',subtextStyle:{color: '#b6e3ff',},left: 'center',top:'10px',textStyle: {color: '#b6e3ff',fontSize: 16,},},
    color: ['#e90035','#c15302','#c98c5f','#ddc642','#88a95c','#0bec40','#6baacb','#048df5','#5d52f9','#7870bd'],
    tooltip: {backgroundColor:'rgba(28,33,46,0.7)',},
    legend: {
    	type: 'scroll',top: 50,left:5,bottom:10,itemWidth: 14,itemHeight: 14,orient:'vertical',
    	pageIconSize:10,pageTextStyle:{color:'#badefc' },textStyle: {color: '#b6e3ff',fontSize:10,},
    	data:['name1','name2','name3','name4','name5','name6']
    },
    series: [{
    	type: 'pie',center: ['60%', '55%'],avoidLabelOverlap: true,radius: ['25%', '38%'],
    	itemStyle: {normal: {borderColor: 'rgba(0,0,0,0.5)',borderWidth: 1,},},
    	label: {
    		normal: {show: true,fontSize:10,formatter: "{d}%",textStyle: {color: '#fff',}},
            emphasis: {show: true,textStyle: {fontWeight: 'bold'}}
        },
        labelLine:{normal:{length:5,length2:10,}},
        data:[{value:100,name:'name1'},{value:100,name:'name2'},{value:100,name:'name3'},{value:100,name:'name4'},{value:100,name:'name5'},{value:100,name:'name6'}]
    }],
}
attack21.setOption(attack21Option);


//炫彩南丁格尔：带内外装饰环
option = {
    backgroundColor: '#031f2d',
    title: [{
        text: '整体考试情况',x: 'center',y: 'top',
        textStyle: {color: '#fff',fontSize: 24,fontWeight: 'bold'},
    }],
    series: [
        {//内圈圆环
            name: '内边框',type: 'pie',startAngle: 260,
            clockWise: false,hoverAnimation: false,label: {normal: {show: false}},
            center: ['50%', '55%'],radius: ['40%', '40%'],
            data: [{value: 10,itemStyle: {normal: {borderWidth: 2,borderColor: '#0b5263'}}},{value: 2,itemStyle: {normal: {borderWidth: 0,borderColor: 'none'}}}]
        },
        {//真实数据
            name: '免考人数',
            type: 'pie',roseType: "raidus",startAngle: 270,avoidLabelOverlap: true,
            center: ['50%', '55%'],radius: ['60%', '50%'],
            color: [
				{type: 'linear',x: 0,y: 0,x2: 0,y2: 1,colorStops: [{offset: 0.2,color: 'rgba(235,41,125,0.1)' },{offset: 1,color: 'rgba(235,41,125,0.8)' }],}, 
				{type: 'linear',x: 0,y: 0,x2: 0,y2: 1,colorStops: [{offset: 0.2,color: 'rgba(63,218,255,0.8)' },{offset: 1,color: 'rgba(63,218,255,0.1)' }],}
			],
            label: {
	    		normal: {
	    			show: true,fontSize:16,
	    			formatter: '{b}\n{d}%',
	    			textStyle: {color: '#fff',}
	    		},
	        },
	        
            labelLine: {normal: {length: 90,length2: 20}},
            data: [{value: 48,name: '免考人数'},{value: 70,name: '正常考试'}],
        },
        {//内圈圆环
            name: '外边框',type: 'pie',center: ['50%', '55%'],radius: ['85%', '85%'],
            clockWise: false,hoverAnimation: false, label: {normal: {show: false}},
            data: [{value: 9,itemStyle: {normal: {borderWidth: 2,borderColor: '#0b5263'}}},{value: 2,itemStyle: {normal: {borderWidth: 0,borderColor: 'none'}}}]
        },
    ]
};

/*联动饼图*/
option = {
    title : [
        {text: '南丁格尔玫瑰图1',left:'10%' ,top:"45%"},
        {text: '南丁格尔玫瑰图2', right:'10%',top:"45%"},
        {text: '南丁格尔玫瑰图3',x:'center',top:"45%"},
        {text: '南丁格尔玫瑰图4',left:'10%' ,top:"95%"},
        {text: '南丁格尔玫瑰图5', right:'10%',top:"95%"},
        {text: '南丁格尔玫瑰图6',x:'center',top:"95%"}
    ],
    tooltip : {trigger: 'item',formatter: "{a} <br/>{b} : {c} ({d}%)"},
    legend: {
        x : 'center',y : 'top',
        data:['system1','system2','system3','system4','system5','system6','system7','system8']
    },
    series : [
        {
            name:'南丁格尔玫瑰图1',type:'pie',roseType : 'radius',
            radius : [20, 110],center : ['17.7%', '25%'],
            label: {normal: {show: false},},
            lableLine: {normal: {show: false},},
            data:[
                {value:10, name:'system1'},
                {value:5, name:'system2'},
                {value:15, name:'system3'},
                {value:25, name:'system4'},
                {value:20, name:'system5'},
                {value:35, name:'system6'},
                {value:30, name:'system7'},
                {value:40, name:'system8'}
            ]
        },
        {
            name:'南丁格尔玫瑰图2',type:'pie',roseType : 'radius',
            radius : [20, 110],center : ['50%', '25%'],
            label: {normal: {show: false},},
            lableLine: {normal: {show: false},},
            data:[
                {value:10, name:'system1'},
                {value:5, name:'system2'},
                {value:15, name:'system3'},
                {value:25, name:'system4'},
                {value:20, name:'system5'},
                {value:35, name:'system6'},
                {value:30, name:'system7'},
                {value:40, name:'system8'}
            ]
        },
        {
            name:'南丁格尔玫瑰图3',type:'pie',roseType : 'radius',
            radius : [20, 110],center : ['82.5%', '25%'],
            label: {normal: {show: false},},
            lableLine: {normal: {show: false},},
            data:[
                {value:10, name:'system1'},
                {value:5, name:'system2'},
                {value:15, name:'system3'},
                {value:25, name:'system4'},
                {value:20, name:'system5'},
                {value:35, name:'system6'},
                {value:30, name:'system7'},
                {value:40, name:'system8'}
            ]
        },
        {
            name:'南丁格尔玫瑰图4',type:'pie',roseType : 'radius',
            radius : [20, 110],center : ['17.5%', '75%'],
            label: {normal: {show: false},},
            lableLine: {normal: {show: false},},
            data:[
                {value:10, name:'system1'},
                {value:5, name:'system2'},
                {value:15, name:'system3'},
                {value:25, name:'system4'},
                {value:20, name:'system5'},
                {value:35, name:'system6'},
                {value:30, name:'system7'},
                {value:40, name:'system8'}
            ]
        },
        {
            name:'南丁格尔玫瑰图5',type:'pie',roseType : 'radius',
            radius : [20, 110],center : ['50%', '75%'],
            label: {normal: {show: false},},
            lableLine: {normal: {show: false},},
            data:[
                {value:10, name:'system1'},
                {value:5, name:'system2'},
                {value:15, name:'system3'},
                {value:25, name:'system4'},
                {value:20, name:'system5'},
                {value:35, name:'system6'},
                {value:30, name:'system7'},
                {value:40, name:'system8'}
            ]
        },
        {
            name:'南丁格尔玫瑰图6',type:'pie',roseType : 'radius',
            radius : [20, 110],center : ['82.5%', '75%'],
            label: {normal: {show: false},},
            lableLine: {normal: {show: false},},
            data:[
                {value:10, name:'system1'},
                {value:5, name:'system2'},
                {value:15, name:'system3'},
                {value:25, name:'system4'},
                {value:20, name:'system5'},
                {value:35, name:'system6'},
                {value:30, name:'system7'},
                {value:40, name:'system8'}
            ]
        }
    ]
};


/* 雷达图*/
var desPort = echarts.init(document.getElementById('desPort'));
desPortoption = {
   title: {
        text: 'IP-TOP10',subtext:'省份访问量-TOP5',
        subtextStyle:{color: '#b6e3ff',},left: 'center',top:'10px',textStyle: {color: '#b6e3ff',fontSize: 16,},
    },
    color: ['#e90035','#c15302','#c98c5f','#ddc642','#88a95c','#0bec40','#6baacb','#048df5','#5d52f9','#7870bd'],
    tooltip: {backgroundColor:'rgba(28,33,46,0.7)',},
    legend: {
    	type: 'scroll',pageIconSize:10,bottom:10,
    	pageTextStyle:{color:'#badefc' },top: 50,left:5, x:'left',orient:'vertical',
    	textStyle: {color: '#b6e3ff',fontSize:10,},
    	data: ['20', '21','80','121','143','144','145','146','147','148'],
    },
    radar: {
    	center: ['62%', '55%'],radius: '50%',splitNumber: 8,
        axisLine: {lineStyle: {color: '#fff',opacity: .2}},
        splitLine: {lineStyle: {color: '#fff',opacity: .2}},
        splitArea: {areaStyle: {color: 'rgba(127,95,132,.3)',shadowColor: 'rgba(0,0,0,.5)',shadowOffsetY: 10,}},
        indicator: [{name: '广东',}, {name: '湖南',}, {name: '湖北',}, {name: '河南',}, {name: '安徽',}, ]
    },
    series: [{
    	type: 'radar',symbolSize: 0,
        areaStyle: {normal: {shadowBlur: 13,shadowColor: 'rgba(0,0,0,.2)',shadowOffsetX: 0,shadowOffsetY: 10,opacity: .6}},
        lineStyle: {normal: {color: 'rgba(0,0,0,0)'}},
        data: [
        	{value: [100, 200, 300, 400, 500, 600],name: '20'},
	        {value: [200, 300, 400, 500, 600, 100],name: '21'},
	        {value: [300, 400, 500, 600, 100, 200],name: '80'},
	        {value: [400, 500, 600, 100, 200, 300],name: '121'},
	        {value: [500, 600, 100, 200, 300, 400],name: '143'},
	        {value: [600, 100, 200, 300, 400, 500],name: '144'},
	        {value: [150, 250, 350, 450, 550, 650],name: '145'},
	        {value: [250, 350, 450, 550, 650, 150],name: '146'},
	        {value: [350, 450, 550, 650, 150, 250],name: '147'},
	        {value: [450, 550, 650, 150, 250, 350],name: '148'},
	        
        ]
    }],
    
}
desPort.setOption(desPortoption);

//折线图
var attack22 = echarts.init(document.getElementById('attack2-2'));
var attack22Option = {
    title: {text: '----折线图----',left: 'center',top:'10px',textStyle: {color: '#b6e3ff',fontSize: 16,},},
    color:['#e90035','#c15302','#c98c5f','#ddc642','#88a95c','#0bec40','#6baacb','#048df5','#5d52f9','#7870bd'],
    tooltip: {trigger: 'axis',axisPointer : { type : 'shadow'},backgroundColor:'rgba(28,33,46,0.7)',},
    legend: {
    	type: 'scroll',top: 36, x:'center',left:20,right:20,pageTextStyle:{color:'#badefc' },pageIconSize:15,
    	textStyle: {color: '#b6e3ff',fontSize:10,},
    	data:['name1','name2','name3','name4','name5','name6']
    	},
    grid: {left: '30px',top:70,right: 30,bottom: 20,containLabel: true},
    xAxis: {
    	type: 'category',
    	axisLine:{lineStyle:{color:"#badefc"}},
    	splitLine: {show: true,lineStyle: {color: '#204c7a'}},
    	data: ["xAxis1","xAxis2","xAxis3","xAxis4","xAxis5","xAxis6"]
    },
    yAxis: {
    	type: 'value',
    	axisLine:{lineStyle:{color:"#badefc"}},
    	splitLine: {show: true,lineStyle: {color: '#204c7a'}},
    },
    series: [
    	{name:"name1",type:"line",smooth:true,lineStyle:{normal:{width:1}},data:[1,2,3,4,5,6]},
    	{name:"name2",type:"line",smooth:true,lineStyle:{normal:{width:1}},data:[2,3,4,5,6,1]},
    	{name:"name3",type:"line",smooth:true,lineStyle:{normal:{width:1}},data:[3,4,5,6,1,2]},
    	{name:"name4",type:"line",smooth:true,lineStyle:{normal:{width:1}},data:[4,5,6,1,2,3]},
    	{name:"name5",type:"line",smooth:true,lineStyle:{normal:{width:1}},data:[5,6,1,2,3,4]},
    	{name:"name6",type:"line",smooth:true,lineStyle:{normal:{width:1}},data:[6,1,2,3,4,5]},	
    ]
};
attack22.setOption(attack22Option);

/* 横向柱状图：单一数值*/
var attack12 = echarts.init(document.getElementById('attack1-2'));
var attack12option = {
    title: {text: '----柱状图----',subtextStyle:{color: '#b6e3ff',},left: 'center',top:'10px',textStyle: {color: '#b6e3ff',fontSize: 16,},},
    tooltip: {
        trigger: 'axis',backgroundColor:'rgba(28,33,46,0.7)',axisPointer: { type: "shadow" },
        formatter: '<div style="text-align: center;">柱状图Top7</div>{b} : {c}'
    },
    grid: {left: '10px',top:50,right: 10,bottom: 0,right:10,containLabel: true},
    xAxis: [{type: 'value',axisTick: {show: false},axisLabel: {show: false},axisLine: {show: false},splitLine: {show: false}}],
    yAxis: [{
        type: 'category',
        axisTick: {show: false},axisLabel: {interval: 'auto'},axisLine:{show:false,lineStyle:{color:"#badefc"}},splitLine: {show: false},
        data: ['name1', 'name2', 'name3', 'name4', 'name5', 'name6', 'name7','name8','name9'],
    }],
    series: [{
        name: '流量',type: 'bar',barWidth: 15,label: {normal: {show: true,position: 'right',textStyle: {color: "#bedafc"}}},
        itemStyle:{
	    	normal:{color: {type: 'linear',x: 0,y: 0,x2: 0,y2: 1,colorStops: [{offset: 0.8, color: '#1ed4d4' }, {offset: 1, color: '#0bec40'}],}}
	    },
        data: [1, 2, 3, 4, 5, 6, 7,8,9]
    }]
};
attack12.setOption(attack12option);

/* 横向柱状图:堆叠*/
var assetsBar = echarts.init(document.getElementById('assetsBar'));
var assetsBaroption = {
	title: {text: '----资产风险审计----',subtextStyle:{color: '#b6e3ff',},left: 'center',top:'10px',textStyle: {color: '#b6e3ff',fontSize: 16,},},
    tooltip: {trigger: 'axis',backgroundColor:'rgba(28,33,46,0.7)',axisPointer: { type: "shadow" },},
    grid: {left: '10px',top:70,right: 10,bottom: 0,containLabel: true},
    xAxis: [{type: 'value',axisTick: {show: false},axisLabel: {show: false},axisLine: {show: false},splitLine: {show: false}}],
    yAxis: [{
        type: 'category',
        axisTick: {show: false},axisLabel: {interval: 'auto'},axisLine:{show:false,lineStyle:{color:"#badefc"}},splitLine: {show: false},
        data: [],
    }],
    legend: {
    	type: 'scroll',top: 36, x:'center',pageTextStyle:{color:'#badefc' },pageIconSize:15,
    	textStyle: {color: '#b6e3ff',fontSize:10,},
    	data: ['高危', '中危','低危']
    },
    series: [
        {
            name: '高危',type: 'bar',stack: '总量',
            label: {normal: {show: true,position: 'insideLeft'}},itemStyle:{normal:{color: "#e90035"}},
            data: [320, 302, 301, 334, 390, 330, 320]
        },
        {
            name: '中危',type: 'bar',stack: '总量',
            label: {normal: {show: true,position: 'insideLeft'}},itemStyle:{normal:{color: "#ddc642"}},
            data: [120, 132, 101, 134, 90, 230, 210]
        },
        {
            name: '低危',type: 'bar',stack: '总量',
            label: {normal: {show: true,position: 'insideLeft'}},itemStyle:{normal:{color: "#048df5"}},
            data: [220, 182, 191, 234, 290, 330, 310]
        }
    ]
};
assetsBar.setOption(assetsBaroption);


//竖向柱状图:未实现，可能存在问题
var logBar = echarts.init(document.getElementById('logBar'));
var logBarOption = {
	title: {text: '日志流量实时概况',left: 'center',top:'10px',textStyle: {color: '#b6e3ff',fontSize: 16,},},
    color: ['rgba(51,152,219,0.8)'],
    tooltip: {trigger: 'axis',axisPointer : { type : 'shadow'},backgroundColor:'rgba(28,33,46,0.7)',},
    grid: {left: '30px',top:70,right: 30,bottom: 20,containLabel: true},
    xAxis: {
    	type: 'category',axisLine:{lineStyle:{color:"#badefc"}},splitLine: {show: true,lineStyle: {color: '#204c7a'}},
    	data: ["xAxis1","xAxis2","xAxis3","xAxis4","xAxis5","xAxis6","xAxis7"]
    },
    yAxis: {type: 'value',axisLine:{lineStyle:{color:"#badefc"}},splitLine: {show: true,lineStyle: {color: '#204c7a'}},},
    label:{normal:{show:true,position:"top",color:"#bedafc"}},
    series : [{name:'日志量',type:'bar',barWidth: '60%',data:[10, 52, 200, 334, 390, 330,10]}]
};
logBar.setOption(logBarOption);

//柱形图：绿色渐变带时间轴
option = {
    backgroundColor:'white',
    title: {text: '使用高峰期',},
    xAxis: {
        z: 10,
        axisLabel: {textStyle: {color: '#555'}},
        axisTick: {show: false},axisLine: {show: false},
        data: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24'],
    },
    yAxis: {
        axisTick: {show: false},axisLine: {show: false},
        axisLabel: {textStyle: {color: '#555'}},
    },
    dataZoom: [{ }],
    series: [{
        type: 'bar',
        itemStyle: {
            normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0,color: '#3DC7BE'}, { offset: 1,color: '#2471A3'}]),},
            emphasis: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0,color: '#2378f7'}, {offset: 0.7,color: '#2378f7'}, {offset: 1,color: '#83bff6'}])},
        },
        data: [220, 182, 191, 234, 290, 330, 310, 123, 442, 321, 90, 149, 210, 122, 133, 334, 198, 123, 125, 220, 198, 123, 125, 220]
    }],
    label: {normal: {show: true,position: 'top',formatter: '{c}'}},
};

/*3D柱形图*/
var bar3D = echarts.init(document.getElementById('summary3DBar'));
var bar3DOption = {
	title: {text: '----3DBar----',subtext:'说说这个图表是用来干什么的，多久刷新一次等',left: 'center',top:'10px',textStyle: {color: '#b6e3ff',fontSize: 16,},subtextStyle:{color: '#8fc4e6'}},
    tooltip: {trigger: 'none',axisPointer: {lineStyle: { color: 'red'}}},
    visualMap: {show: false,min: 0.4,max: 10,inRange: {color: ['#010dad','#7d37fc','#35d8fb']}},//这是柱状图颜色不能删,数据量够多会显示不同颜色
    xAxis3D: {
    	type: 'category',axisLine:{lineStyle:{color:"#bedafc",},},splitLine: {show: true,lineStyle: {color: '#418ceb'}},
        data: ['yAxis1','yAxis2','yAxis3','yAxis4','yAxis5','yAxis6'],
    },
    yAxis3D: {
        type: 'category',axisLine:{lineStyle:{color:"#bedafc",},},splitLine: {show: true,lineStyle: {color: '#418ceb'}},
        data: ['xAxis1','xAxis2','xAxis3','xAxis4','xAxis5','xAxis6'],
    },
    zAxis3D: {type: 'value',axisLine:{lineStyle:{color:"#bedafc",},},splitLine: {show: true,lineStyle: {color: '#418ceb'}},},
    grid3D: {light: {main: {intensity: 1.2},},
    axisPointer:{lineStyle:{color:"#c98c5f"}}},  
    label: {show: false,textStyle: {fontSize: 16,borderWidth: 1,}},itemStyle: {opacity: 0.8,},
    emphasis: {label: {textStyle: {fontSize: 20,color: '#900'}},itemStyle: {color: '#900'}},
    series: [{
        type: 'bar3D',shading: 'color',opacity:0.5,
        label: {show: false,textStyle: {fontSize: 16,borderWidth: 1,}},itemStyle: {opacity: 0.8,},
        emphasis: {label: {textStyle: {fontSize: 20,color: '#900'}},itemStyle: {color: '#900'}},
        data: [
        	[0,0,5],[0,1,1],[0,2,0],[0,3,0],[0,4,0],[0,5,0],
        	[1,0,7],[1,1,0],[1,2,0],[1,3,0],[1,4,0],[1,5,0],
        	[2,0,1],[2,1,1],[2,2,0],[2,3,0],[2,4,0],[2,5,0],
        	[3,0,7],[3,1,3],[3,2,0],[3,3,0],[3,4,0],[3,5,0],
        	[4,0,1],[4,1,3],[4,2,0],[4,3,0],[4,4,0],[4,5,1],
        	[5,0,2],[5,1,1],[5,2,0],[5,3,3],[5,4,0],[5,5,0],
        ]
        
    }]
}
bar3D.setOption(bar3DOption);

//中国地图
var assetAllocation = echarts.init(document.getElementById('assetAllocation'));
var assetAllocationOption = {
	title: {
        text: '资产地区分布概况',backgroundColor:"#00AFF2",left:"10px",borderRadius:[15,15,15,-1],padding:10,
        top:'10px',textStyle: {color: '#b6e3ff',fontSize: 16},
        shadowColor:'rgba(30, 122, 190, 0.5)',shadowOffsetX:5,shadowOffsetY:5
    },
    tooltip: {backgroundColor:'rgba(28,33,46,0.7)'},
    toolbox: {
        show: true,orient: 'vertical',iconStyle:{normal:{borderColor:"#badefc"}},
        feature: {restore: {},saveAsImage: {}},right:'10px',top:'50px'
    },
    legend: {
    	type: 'scroll',bottom: '10px',top:'60px',left:'10px',orient:"vertical", itemWidth: 14,itemHeight: 14,
    	pageIconSize:10,pageTextStyle:{color:'#badefc'},textStyle: {color: '#b6e3ff',fontSize:10},                                                                                                        
        data:['中间件', '交换机', '安全网关'],
    },
    color:['#e90035','#ddc642','#048df5'],
	geo:{
		map:'china',roam:true,left:'14%',zoom:0.8,layoutCenter: ['50%', '50%'],
		label:{normal: {show: true,textStyle:{color:"#666"}},emphasis: {show: true,textStyle:{color:"#ffffff"}}},
		itemStyle: {
        	normal: {borderWidth: .5,borderColor: '#33ffff',areaColor:'rgba(51,255,255,0.5)',shadowColor: 'rgba(126, 252, 252, 0.8)',shadowBlur: 5},
            emphasis: {borderWidth: .5,borderColor: '#4b0082',areaColor:'rgba(28,51,77,0.7)',shadowColor: 'rgba(255, 0, 0, 0.4)',shadowBlur: 50}
        },
	},
	series:[
		{
			name: "北京",type: 'lines',zlevel: 1,selectedMode : 'single',
	        effect: {show: true,period: 6,trailLength: 0.7,symbol:'arrow',symbolSize: 4,},
	        lineStyle: {normal: {width: 0,curveness: 0.2}},
	        data:[{coords:[[116.4551,40.2539],[121.4648,31.2891]]},{coords:[[116.4551,40.2539],[113.5107,23.2196]]},{coords:[[116.4551,40.2539],[122.2229,39.4409]]},{coords:[[116.4551,40.2539],[108.479,23.1152]]},]
		},
		{
	        name: "北京",type: 'lines',zlevel: 2,selectedMode : 'single',
	        effect: {show: true, period: 6,trailLength: 0,symbolSize: 0},
	        lineStyle: {normal: {width: 1,opacity: 0.4,curveness: 0.2}},
	        data: [{coords:[[116.4551,40.2539],[121.4648,31.2891]]},{coords:[[116.4551,40.2539],[113.5107,23.2196]]},{coords:[[116.4551,40.2539],[122.2229,39.4409]]},{coords:[[116.4551,40.2539],[108.479,23.1152]]},]
	    },
	    {
	        name: "中间件",type: 'effectScatter',coordinateSystem: 'geo',zlevel: 2,symbolSize: 8,
	        rippleEffect: {brushType: 'stroke'},selectedMode : 'single',
	        label: {normal: {show: true,position: 'right',formatter: '{b}'}},
	        data:[[116.4551,40.2539],[121.4648,31.2891],[113.5107,23.2196],[122.2229,39.4409],[108.479,23.1152]]
	    },
	    {
			name: "上海",type: 'lines',zlevel: 1,selectedMode : 'single',
	        effect: {show: true,period: 6,trailLength: 0.7,symbol:'arrow',symbolSize: 4,},
	        lineStyle: {normal: {width: 0,curveness: 0.2}},
	        data:[{coords:[[121.4648,31.2891],[113.7964,24.7028]]},{coords:[[121.4648,31.2891],[120.4651,36.3373]]},{coords:[[121.4648,31.2891],[113.4778,38.0951]]},{coords:[[121.4648,31.2891],[112.8625,36.4746]]},]
		},
		{
	        name: "上海",type: 'lines',zlevel: 2,selectedMode : 'single',
	        effect: {show: true, period: 6,trailLength: 0,symbolSize: 0},
	        lineStyle: {normal: {width: 1,opacity: 0.4,curveness: 0.2}},
	        data: [{coords:[[121.4648,31.2891],[113.7964,24.7028]]},{coords:[[121.4648,31.2891],[120.4651,36.3373]]},{coords:[[121.4648,31.2891],[113.4778,38.0951]]},{coords:[[121.4648,31.2891],[112.8625,36.4746]]},]
	    },
	    {
	        name: "交换机",type: 'effectScatter',coordinateSystem: 'geo',zlevel: 2,symbolSize: 8,
	        rippleEffect: {brushType: 'stroke'},selectedMode : 'single',
	        label: {normal: {show: true,position: 'right',formatter: '{b}'}},
	        data:[[121.4648,31.2891],[113.7964,24.7028],[120.4651,36.3373],[113.4778,38.0951],[112.8625,36.4746]]
	    },
	    {
			name: "广州",type: 'lines',zlevel: 1,selectedMode : 'single',
	        effect: {show: true,period: 6,trailLength: 0.7,symbol:'arrow',symbolSize: 4,},
	        lineStyle: {normal: {width: 0,curveness: 0.2}},
	        data:[{coords:[[113.5107,23.2196],[113.0823,28.2568]]},{coords:[[113.5107,23.2196],[125.8154,44.2584]]},{coords:[[113.5107,23.2196],[119.4763,31.9702]]},{coords:[[113.5107,23.2196],[106.3586,38.1775]]},]
		},
		{
	        name: "广州",type: 'lines',zlevel: 2,selectedMode : 'single',
	        effect: {show: true, period: 6,trailLength: 0,symbolSize: 0},
	        lineStyle: {normal: {width: 1,opacity: 0.4,curveness: 0.2}},
	        data: [{coords:[[113.5107,23.2196],[113.0823,28.2568]]},{coords:[[113.5107,23.2196],[125.8154,44.2584]]},{coords:[[113.5107,23.2196],[119.4763,31.9702]]},{coords:[[113.5107,23.2196],[106.3586,38.1775]]},]
	    },
	    {
	        name: "安全网关",type: 'effectScatter',coordinateSystem: 'geo',zlevel: 2,symbolSize: 8,
	        rippleEffect: {brushType: 'stroke'},selectedMode : 'single',
	        label: {normal: {show: true,position: 'right',formatter: '{b}'}},
	        data:[[113.5107,23.2196],[113.0823,28.2568],[125.8154,44.2584],[119.4763,31.9702],[106.3586,38.1775]]
	    }
	]
}
assetAllocation.setOption(assetAllocationOption);
assetAllocation.on('click', function (params) {
	var city = params.name;
        if(params.name=='河南'){
        	/*window.open('https://www.baidu.com/s?wd=' + encodeURIComponent(params.name));*/
            $(".attachMapControl").show();
        }
});


/*3d地图云层和地区分布*/
var canvas = document.createElement('canvas');
var mapChart = echarts.init(canvas, null, {
    width: 4000,
    height: 2000
});
mapChart.setOption({
    visualMap: {show: false,min: 0,max: 500000,},
    series : [
        {
            type: 'map',map: 'world',top: 0,left: 0,right: 0,bottom: 0,boundingCoords: [[-180, 90], [180, -90]],
            data:[
                {name : 'Afghanistan', value : 28397.812},
                {name : 'Angola', value : 19549.124},
                {name : 'Albania', value : 3150.143},
                {name : 'United Arab Emirates', value : 8441.537},
                {name : 'Argentina', value : 40374.224},
                {name : 'Armenia', value : 2963.496},
                {name : 'French Southern and Antarctic Lands', value : 268.065},
                {name : 'Australia', value : 22404.488},
                {name : 'Austria', value : 8401.924},
                {name : 'Azerbaijan', value : 9094.718},
                {name : 'Burundi', value : 9232.753},
                {name : 'Belgium', value : 10941.288},
                {name : 'Benin', value : 9509.798},
                {name : 'Burkina Faso', value : 15540.284},
                {name : 'Bangladesh', value : 151125.475},
                {name : 'Bulgaria', value : 7389.175},
                {name : 'The Bahamas', value : 66402.316},
                {name : 'Bosnia and Herzegovina', value : 3845.929},
                {name : 'Belarus', value : 9491.07},
                {name : 'Belize', value : 308.595},
                {name : 'Bermuda', value : 64.951},
                {name : 'Bolivia', value : 716.939},
                {name : 'Brazil', value : 195210.154},
                {name : 'Brunei', value : 27.223},
                {name : 'Bhutan', value : 716.939},
                {name : 'Botswana', value : 1969.341},
                {name : 'Central African Republic', value : 4349.921},
                {name : 'Canada', value : 34126.24},
                {name : 'Switzerland', value : 7830.534},
                {name : 'Chile', value : 17150.76},
                {name : 'China', value : 1359821.465},
                {name : 'Ivory Coast', value : 60508.978},
                {name : 'Cameroon', value : 20624.343},
                {name : 'Democratic Republic of the Congo', value : 62191.161},
                {name : 'Republic of the Congo', value : 3573.024},
                {name : 'Colombia', value : 46444.798},
                {name : 'Costa Rica', value : 4669.685},
                {name : 'Cuba', value : 11281.768},
                {name : 'Northern Cyprus', value : 1.468},
                {name : 'Cyprus', value : 1103.685},
                {name : 'Czech Republic', value : 10553.701},
                {name : 'Germany', value : 83017.404},
                {name : 'Djibouti', value : 834.036},
                {name : 'Denmark', value : 5550.959},
                {name : 'Dominican Republic', value : 10016.797},
                {name : 'Algeria', value : 37062.82},
                {name : 'Ecuador', value : 15001.072},
                {name : 'Egypt', value : 78075.705},
                {name : 'Eritrea', value : 5741.159},
                {name : 'Spain', value : 46182.038},
                {name : 'Estonia', value : 1298.533},
                {name : 'Ethiopia', value : 87095.281},
                {name : 'Finland', value : 5367.693},
                {name : 'Fiji', value : 860.559},
                {name : 'Falkland Islands', value : 49.581},
                {name : 'France', value : 63230.866},
                {name : 'Gabon', value : 1556.222},
                {name : 'United Kingdom', value : 62066.35},
                {name : 'Georgia', value : 4388.674},
                {name : 'Ghana', value : 24262.901},
                {name : 'Guinea', value : 10876.033},
                {name : 'Gambia', value : 1680.64},
                {name : 'Guinea Bissau', value : 10876.033},
                {name : 'Equatorial Guinea', value : 696.167},
                {name : 'Greece', value : 11109.999},
                {name : 'Greenland', value : 56.546},
                {name : 'Guatemala', value : 14341.576},
                {name : 'French Guiana', value : 231.169},
                {name : 'Guyana', value : 786.126},
                {name : 'Honduras', value : 7621.204},
                {name : 'Croatia', value : 4338.027},
                {name : 'Haiti', value : 9896.4},
                {name : 'Hungary', value : 10014.633},
                {name : 'Indonesia', value : 240676.485},
                {name : 'India', value : 1205624.648},
                {name : 'Ireland', value : 4467.561},
                {name : 'Iran', value : 240676.485},
                {name : 'Iraq', value : 30962.38},
                {name : 'Iceland', value : 318.042},
                {name : 'Israel', value : 7420.368},
                {name : 'Italy', value : 60508.978},
                {name : 'Jamaica', value : 2741.485},
                {name : 'Jordan', value : 6454.554},
                {name : 'Japan', value : 127352.833},
                {name : 'Kazakhstan', value : 15921.127},
                {name : 'Kenya', value : 40909.194},
                {name : 'Kyrgyzstan', value : 5334.223},
                {name : 'Cambodia', value : 14364.931},
                {name : 'South Korea', value : 51452.352},
                {name : 'Kosovo', value : 97.743},
                {name : 'Kuwait', value : 2991.58},
                {name : 'Laos', value : 6395.713},
                {name : 'Lebanon', value : 4341.092},
                {name : 'Liberia', value : 3957.99},
                {name : 'Libya', value : 6040.612},
                {name : 'Sri Lanka', value : 20758.779},
                {name : 'Lesotho', value : 2008.921},
                {name : 'Lithuania', value : 3068.457},
                {name : 'Luxembourg', value : 507.885},
                {name : 'Latvia', value : 2090.519},
                {name : 'Morocco', value : 31642.36},
                {name : 'Moldova', value : 103.619},
                {name : 'Madagascar', value : 21079.532},
                {name : 'Mexico', value : 117886.404},
                {name : 'Macedonia', value : 507.885},
                {name : 'Mali', value : 13985.961},
                {name : 'Myanmar', value : 51931.231},
                {name : 'Montenegro', value : 620.078},
                {name : 'Mongolia', value : 2712.738},
                {name : 'Mozambique', value : 23967.265},
                {name : 'Mauritania', value : 3609.42},
                {name : 'Malawi', value : 15013.694},
                {name : 'Malaysia', value : 28275.835},
                {name : 'Namibia', value : 2178.967},
                {name : 'New Caledonia', value : 246.379},
                {name : 'Niger', value : 15893.746},
                {name : 'Nigeria', value : 159707.78},
                {name : 'Nicaragua', value : 5822.209},
                {name : 'Netherlands', value : 16615.243},
                {name : 'Norway', value : 4891.251},
                {name : 'Nepal', value : 26846.016},
                {name : 'New Zealand', value : 4368.136},
                {name : 'Oman', value : 2802.768},
                {name : 'Pakistan', value : 173149.306},
                {name : 'Panama', value : 3678.128},
                {name : 'Peru', value : 29262.83},
                {name : 'Philippines', value : 93444.322},
                {name : 'Papua New Guinea', value : 6858.945},
                {name : 'Poland', value : 38198.754},
                {name : 'Puerto Rico', value : 3709.671},
                {name : 'North Korea', value : 1.468},
                {name : 'Portugal', value : 10589.792},
                {name : 'Paraguay', value : 6459.721},
                {name : 'Qatar', value : 1749.713},
                {name : 'Romania', value : 21861.476},
                {name : 'Russia', value : 21861.476},
                {name : 'Rwanda', value : 10836.732},
                {name : 'Western Sahara', value : 514.648},
                {name : 'Saudi Arabia', value : 27258.387},
                {name : 'Sudan', value : 35652.002},
                {name : 'South Sudan', value : 9940.929},
                {name : 'Senegal', value : 12950.564},
                {name : 'Solomon Islands', value : 526.447},
                {name : 'Sierra Leone', value : 5751.976},
                {name : 'El Salvador', value : 6218.195},
                {name : 'Somaliland', value : 9636.173},
                {name : 'Somalia', value : 9636.173},
                {name : 'Republic of Serbia', value : 3573.024},
                {name : 'Suriname', value : 524.96},
                {name : 'Slovakia', value : 5433.437},
                {name : 'Slovenia', value : 2054.232},
                {name : 'Sweden', value : 9382.297},
                {name : 'Swaziland', value : 1193.148},
                {name : 'Syria', value : 7830.534},
                {name : 'Chad', value : 11720.781},
                {name : 'Togo', value : 6306.014},
                {name : 'Thailand', value : 66402.316},
                {name : 'Tajikistan', value : 7627.326},
                {name : 'Turkmenistan', value : 5041.995},
                {name : 'East Timor', value : 10016.797},
                {name : 'Trinidad and Tobago', value : 1328.095},
                {name : 'Tunisia', value : 10631.83},
                {name : 'Turkey', value : 72137.546},
                {name : 'United Republic of Tanzania', value : 44973.33},
                {name : 'Uganda', value : 33987.213},
                {name : 'Ukraine', value : 46050.22},
                {name : 'Uruguay', value : 3371.982},
                {name : 'United States of America', value : 312247.116},
                {name : 'Uzbekistan', value : 27769.27},
                {name : 'Venezuela', value : 236.299},
                {name : 'Vietnam', value : 89047.397},
                {name : 'Vanuatu', value : 236.299},
                {name : 'West Bank', value : 13.565},
                {name : 'Yemen', value : 22763.008},
                {name : 'South Africa', value : 51452.352},
                {name : 'Zambia', value : 13216.985},
                {name : 'Zimbabwe', value : 13076.978}
            ]
        }
    ]
});
//地图实体
var myChart = echarts.init(document.getElementById('D3-map'));
$.getJSON('/OtherPlugins/echarts/map/json/glDataScatter.json', function(data) {
    var data = data.filter(function (dataItem) {
        return dataItem[2] > 0;
    }).map(function (dataItem) {
        return [dataItem[0], dataItem[1], Math.sqrt(dataItem[2])];
    });
	var option = {
	    backgroundColor: '#202e4a',
	    title: {
	        text: '---IP访问地区分布---',/*backgroundColor:"rgba(0,175,242,0.5)",*//*left:"10px",*/x:'center',borderRadius:[15,15,15,15],padding:10,
	        top:'10px',textStyle: {color: '#b6e3ff',fontSize: 18,},
	        /*shadowColor:'rgba(255, 122, 190, 0.5)',shadowOffsetX:0,shadowOffsetY:0,shadowBlur:10*/
	    },
		visualMap: {
            show: false,
            min: 0,
            max: 800,
            inRange: {
                symbolSize: [2, 70.0],
                opacity:1,
                /*color:'#1de9fb' */   
            },
        },
	    globe: {
	    	environment: '#202e4a',
	    	top:'40px',
	    	right:'0',
	        baseTexture: '/img/echarts/base.jpg',
	        heightTexture: '/img/echarts/hightTexturt.jpg',
	        displacementScale: 0.1,
	        shading: 'lambert',
	        light: {
	            ambient: {
	                intensity: 0.8
	            },
	            main: {
	                intensity: 0.3
	            }
	        },
			viewControl:{
				distance:180
			},
	        layers: [{
	            type: 'blend',
	            blendTo: 'emission',
	            texture: '/img/echarts/texture1.jpg'
	        }, {
	            type: 'overlay',
	            texture: mapChart,
	            shading: 'lambert',
	            distance: 0
	        }]
	    },
	    series: {
            type: 'scatter3D',
            coordinateSystem: 'globe',
            blendMode: 'lighter',
            symbolSize: 2,
            itemStyle: {
                color: 'rgb(50, 50, 150)',
                opacity: 1
            },
            data: data//data数组前两个代表经纬度，最后一个代表高度。高度越高散点大小越大
        }
	}
	myChart.setOption(option);
});
/*myChart.on('mouseover', function (params) {
    var dataIndex = params.dataIndex;
    console.log(params);
});*/

/*<script src="/OtherPlugins/echarts/echarts.min.js" type="text/javascript" charset="utf-8"></script><!--echarts图表-->
<script src="/OtherPlugins/echarts/echarts-gl.min.js" type="text/javascript" charset="utf-8"></script><!--echarts-gl-->
<script src="/OtherPlugins/echarts/map/js/world.js" type="text/javascript" charset="utf-8"></script>
<script src="/js/syslog/echartsProtocol.js" type="text/javascript" charset="utf-8"></script><!--本页图表-->*/

//关联图
var echartsPort = echarts.init(document.getElementById('echartsPort'));
echartsPortoption = {
	title: {
        text: '端口访问地区分布',backgroundColor:"#00AFF2",left:"10px",borderRadius:[15,15,15,-1],padding:10,
        top:'10px',textStyle: {color: '#b6e3ff',fontSize: 16,},
        shadowColor:'rgba(30, 122, 190, 0.5)',shadowOffsetX:5,shadowOffsetY:5,
    },
    legend: {
    	type: 'scroll',bottom: '10px',pageIconSize:10,
    	pageTextStyle:{color:'#badefc' },
    	textStyle: {color: '#b6e3ff',fontSize:10},
        x: "left",top:'60px',left:'10px',orient:"vertical",                                                                                                                         
        data: ["广东省", "湖南省", '湖北省', '河南省', '安徽省','江西省','河北省','辽宁省','吉林省','黑龙江省','山西省','陕西省','山东省','江苏省','浙江省','台湾省','福建省','云南省','海南省','四川省','贵州省','甘肃省','青海省'] // 此处不显示根节点学生
    },
    backgroundColor: 'linear-gradient( to left, rgba( 57, 57, 92, 0.3) 5%,rgba( 65, 140, 235, 0.1) 95%)',tooltip: {backgroundColor:'rgba(28,33,46,0.7)',},
    animationDurationUpdate: 1500,//数据更新动画的时长
    animationEasingUpdate: 'quinticInOut',//数据更新动画的缓动效果
    series: [{
        type: 'graph',layout: 'force',symbol:'circle',left:'-300px',top:'80px',
        force:{repulsion: 160,gravity: 0.6},//引力和斥力调节,不同分辨率大小可适当调整数值使关系图大小适应屏幕
        /*symbolSize:function(size){return size;},*/
        focusNodeAdjacency: true,//是否在鼠标移到节点上的时候突出显示节点以及节点的边和邻接节点。
        roam: true,//是否开启鼠标缩放和平移漫游=平移+缩放
        categories:[
        	{name:'中国',itemStyle:{normal:{color:'#e90035'}}},
        	{name:'广东省',itemStyle:{normal:{color:'#c15302'}}},
        ],
        circular: {rotateLabel: true},//是否旋转标签，默认不旋转
        itemStyle: {normal: {label: {rotate: true,show: true,textStyle: {color: '#fff',}},},},
        lineStyle:{normal:{color:'#418ceb'}},
        label:{normal:{position:'top',}},
        data: [ 
        	{name: '中国',symbolSize:30,value:20,showNum:20,draggable: true,category:0},
	        {name: '广东省',symbolSize:30,value:25,showNum:25,draggable: true,category:1},
	        {name: '广东省1',value:25,showNum:25,draggable: true,category:1},
	        {name: '广东省2',value:25,showNum:25,draggable: true,category:1},
	        {name: '广东省3',value:25,showNum:25,draggable: true,category:1},
	        {name: '广东省4',value:25,showNum:25,draggable: true,category:1},
	        {name: '广东省5',value:25,showNum:25,draggable: true,category:1},
	        {name: '广东省6',value:25,showNum:25,draggable: true,category:1},
	        {name: '广东省7',value:25,showNum:25,draggable: true,category:1},
	        {name: '广东省8',value:25,showNum:25,draggable: true,category:1},
        ],
        links: [
			{source: '中国',target: '广东省',},
			{source: '广东省',target: '广东省1',},
			{source: '广东省',target: '广东省2',},
			{source: '广东省',target: '广东省3',},
			{source: '广东省',target: '广东省4',},
			{source: '广东省',target: '广东省5',},
			{source: '广东省',target: '广东省6',},
			{source: '广东省',target: '广东省7',},
			{source: '广东省',target: '广东省8',},
        ]
    }]
};
echartsPort.setOption(echartsPortoption);

/*折线图：时间轴*/
/*历史行为监测*/
var line = echarts.init(document.getElementById('history_monitor'));
var lineOption = {
	baseOption:{
		timeline: {
			show: true,
			axisType: "category",
			autoPlay: true,
			controlPosition: "right",
			lineStyle: {
				color: "#ffffff",
				shadowColor: 'rgba(255, 0, 0, 0.5)',
				shadowBlur: 10
			},
			checkpointStyle: {
	            color: '#04a5f1',
	            borderColor: 'rgba(255, 255, 255, .4)'
	        },
    		label: {
    			color: "#ffffff",
    		},
    		controlStyle: {
    			color: "#ffffff",
    			borderColor:"#ffffff",
    			borderWidth:{
    				color:"#ffffff",
    				borderColor:"#ffffff"
    			}	             
    		},
			data: ["2018-06-28", "2018-06-29", "2018-06-30", "2018-07-01"]
		},
		title: {/*text: '✪  历史行为监测',*/
			left: '20',top:'15',
			textStyle: {color: '#fff',fontSize: 16},
			backgroundColor:"rgba(0, 123, 229, 0.4)",padding: [10,15],borderRadius:80,
			shadowColor: 'rgba(0,123,226,0.6)',
			shadowBlur: 1,
			shadowOffsetX:2,
			shadowOffsetY:2
		},
		backgroundColor: "linear-gradient(to left, rgba(10, 67, 158, 0.5), rgba(10, 21, 26, 0.2))",
	 	tooltip: {
	 		trigger: 'axis',axisPointer: { type : 'shadow'},backgroundColor:'rgba(255,255,255,.8)',padding:10,
	   		textStyle:{color:"#578cad"},extraCssText: 'box-shadow: 0px 1px 6px 0px rgba(0,0,0,0.2);'
	    },
	    legend: {
	    	type: 'scroll',top: 22,left:'260',right:'10',itemWidth: 14,itemHeight: 14,
	    	pageIconSize:10,pageTextStyle:{color:'#678293' },textStyle: {color: '#fff',fontSize:12,},
	    	//data:['name1','name2','name3','name4','name5','name6']
	    },
		grid: {left: '30px',top:80,right: 50,bottom: 50,containLabel: true},
		xAxis: {
			type: 'category',
			boundaryGap: false,
			axisLine:{show:false,lineStyle:{color:"#fff"}},
			axisTick:{show:false},
	    	splitLine: {show: false},
			axisLabel:{interval: 0,},
			data: ["1","2","3","4","5","6"]
		},
		yAxis: {
			type: 'value',axisTick:{show:false},
			axisLine:{show:false,lineStyle:{color:"#fff"}},
			splitLine: {show: true,lineStyle: {color: 'rgba(255, 255, 255, 0.27)'}},
		},
		series: [
	    	{type:"line",symbol:'circle',symbolSize: 8,smooth:true,lineStyle:{normal:{width:2,color:'#2bd0c0'}},itemStyle: {normal: {color: '#2bd0c0'}}},
	    	{type:"line",symbol:'circle',symbolSize: 8,smooth:true,lineStyle:{normal:{width:2,color:'#fea06c'}},itemStyle: {normal: {color: '#fea06c'}}},
	    	{type:"line",symbol:'circle',symbolSize: 8,smooth:true,lineStyle:{normal:{width:2,color:'#fdda65'}},itemStyle: {normal: {color: '#fdda65'}}},	
	    ]
	},
	options:[{
		title: {
            text: "历史行为监测"
        },
        series: [
	    	{data:[6,1,6,6,8,5]},
	    	{data:[5,6,3,2,2,4]},
	    	{data:[1,2,5,7,4,2]},	
	    ]
	},{
        series: [
	    	{data:[5,6,3,2,2,4]},
	    	{data:[1,2,5,7,4,2]},
	    	{data:[6,1,6,6,8,5]},	
	    ]
	},{
        series: [
	    	{data:[6,1,6,6,8,5]},
	    	{data:[5,6,3,2,2,4]},
	    	{data:[1,2,5,7,4,2]},	
	    ]
	},{
        series: [
	    	{data:[1,2,5,7,4,2]},
	    	{data:[5,6,3,2,2,4]},
	    	{data:[6,1,6,6,8,5]},	
	    ]
	}]
}	
line.setOption(lineOption);
$(window).resize(function(){line.resize()})


/*太阳图*/

option = {
    backgroundColor: '#2E2733',
    color: ['#f00', '#0f0', '#00f', '#ff0', '#0ff'],
    series: [{
        type: 'sunburst',center: ['50%', '48%'],
        label: {rotate: 'radial',color: '#555'},
        itemStyle: {borderColor: '#2ba8d2',borderWidth: 1},
        levels: [
        	{}, 
        	{
        	    r0: 40,r: 40,
        	    itemStyle: {shadowBlur: 2,shadowColor: '#00f',color: 'transparent'},
        	    label: {textShadowBlur: 5,textShadowColor: '#333',color:"#fff"},
        	}, 
	        {r0: 40,r: 105}, /*系统种类*/
	        {
	        	r0: 115,r: 140,
	        	itemStyle: {color: 'transparent'},
	            label: {rotate: 'tangential',fontSize: 10,color: '#2ba8d2'}
	        },  /*数量*/
	        {
	            r0: 140,r: 145,
	            itemStyle: {color:"#2ba8d266",shadowBlur: 50,shadowColor: '#2ba8d2',},
	            label: {position: 'outside',textShadowBlur: 5,textShadowColor: '#333',color:"#2ba8d2"},
	            downplay: {label: {opacity: 0.5}}
	        }/*名称*/
	    ],  
	    data: [
            {
                children: [
                    {
                        name: '系统种类1',
                        itemStyle: {color: '#53d9ff',shadowBlur: 10,shadowColor: '#51e9ea',},
                        children: [
                            {name: '5',children: [{name: 'was',value:5}]},
                            {name: '4',children: [{name: '进出港管理系统',value:5}]}, 
                            {name: '3',children: [{name: 'was日志系统2',value:5}]},
                            {name: '3',children: [{name: 'ST技术社区',value:5}]},
                            {name: '3',children: [{name: 'was4.0',value:5}]},
                            {name: '3',children: [{name: '资产管理系统',value:5}]}
                        ]
                    }, 
                    {
                        name: '系统种类2',
                        itemStyle: {color: '#53d9ff',shadowBlur: 10,shadowColor: '#51e9ea',},
                        children: [
                            {name: '5',children: [{name: 'was',value:5}]},
                            {name: '4',children: [{name: '进出港管理系统',value:5}]}, 
                            {name: '3',children: [{name: 'was日志系统2',value:5}]},
                            {name: '3',children: [{name: 'ST技术社区',value:5}]},
                            {name: '3',children: [{name: 'was4.0',value:5}]},
                            {name: '3',children: [{name: '资产管理系统',value:5}]}
                        ]
                    }, 
                    {
                        name: '系统种类3',
                        itemStyle: {color: '#53d9ff',shadowBlur: 10,shadowColor: '#51e9ea',},
                        children: [
                            {name: '5',children: [{name: 'was',value:5}]},
                            {name: '4',children: [{name: '进出港管理系统',value:5}]}, 
                            {name: '3',children: [{name: 'was日志系统2',value:5}]},
                            {name: '3',children: [{name: 'ST技术社区',value:5}]},
                            {name: '3',children: [{name: 'was4.0',value:5}]},
                            {name: '3',children: [{name: '资产管理系统',value:5}]}
                        ]
                    }, 
                    {
                        name: '系统种类4',
                        itemStyle: {color: '#53d9ff',shadowBlur: 10,shadowColor: '#51e9ea',},
                        children: [
                            {name: '5',children: [{name: 'was',value:5}]},
                            {name: '4',children: [{name: '进出港管理系统',value:5}]}, 
                            {name: '3',children: [{name: 'was日志系统2',value:5}]},
                            {name: '3',children: [{name: 'ST技术社区',value:5}]},
                            {name: '3',children: [{name: 'was4.0',value:5}]},
                            {name: '3',children: [{name: '资产管理系统',value:5}]}
                        ]
                    }, 
                    {
                        name: '系统种类5',
                        itemStyle: {color: '#53d9ff',shadowBlur: 10,shadowColor: '#51e9ea',},
                        children: [
                            {name: '5',children: [{name: 'was',value:5}]},
                            {name: '4',children: [{name: '进出港管理系统',value:5}]}, 
                            {name: '3',children: [{name: 'was日志系统2',value:5}]},
                            {name: '3',children: [{name: 'ST技术社区',value:5}]},
                            {name: '3',children: [{name: 'was4.0',value:5}]},
                            {name: '3',children: [{name: '资产管理系统',value:5}]}
                        ]
                    }, 
                    {
                        name: '系统种类6',
                        itemStyle: {color: '#53d9ff',shadowBlur: 10,shadowColor: '#51e9ea',},
                        children: [
                        	{name: '5',children: [{name: 'was',value:5}]},
                            {name: '4',children: [{name: '进出港管理系统',value:5}]}, 
                            {name: '3',children: [{name: 'was日志系统2',value:5}]},
                            {name: '3',children: [{name: 'ST技术社区',value:5}]},
                            {name: '3',children: [{name: 'was4.0',value:5}]},
                            {name: '3',children: [{name: '资产管理系统',value:5}]}
                        ]
                    }, 
                    {
                        name: '系统种类7',
                        itemStyle: {color: '#53d9ff',shadowBlur: 10,shadowColor: '#51e9ea',},
                        children: [
                        	{name: '5',children: [{name: 'was',value:5}]},
                            {name: '4',children: [{name: '进出港管理系统',value:5}]}, 
                            {name: '3',children: [{name: 'was日志系统2',value:5}]},
                            {name: '3',children: [{name: 'ST技术社区',value:5}]},
                            {name: '3',children: [{name: 'was4.0',value:5}]},
                            {name: '3',children: [{name: '资产管理系统',value:5}]}
                        ]
                    }
                ]
            }
        ],
    }]
};




option = {
    series: [
        {
            name: '土建背景',type: 'gauge',radius: '45%',startAngle: 180,endAngle: 0,splitNumber: 0, 
            axisLine: {lineStyle: {shadowColor: 'rgba(93,183,255,0.50)',shadowBlur: 10,color: [[1, '#c3e6fa']]}},
            axisLabel: {show: false},
            axisTick: {show: false},
            detail: {show: false},
            pointer: {show: false}
        },
        {
            name: '土建',title : {color: "#c3e6fa",fontWeight: 'bolder',fontSize: 20,},
            type: 'gauge',radius: '45%',splitNumber: 0, startAngle: 180,endAngle: 0,
            axisLine: {
                lineStyle: {
                    shadowColor: 'rgba(0, 0, 0, 0.1)',
                    shadowBlur: 10,
                    color: [
                        [0.1, new echarts.graphic.LinearGradient(0, 0, 1, 0,[{offset: 0, color: '#5ff000'},{offset: 1, color: '#6fe700'}])],
                        [0.2, new echarts.graphic.LinearGradient(0, 0, 1, 0,[{offset: 0, color: '#6fe700'},{offset: 1, color: '#86da00'}])],
                        [0.3, new echarts.graphic.LinearGradient(0, 0, 1, 0,[{offset: 0, color: '#86da00'},{offset: 1, color: '#bebc00'}])],
                        [0.4, new echarts.graphic.LinearGradient(0, 0, 1, 0,[{offset: 0, color: '#bebc00'},{offset: 1, color: '#ff9500'}])],
                        [0.5, new echarts.graphic.LinearGradient(0, 0, 1, 0,[{offset: 0, color: '#ff9500'},{offset: 1, color: '#ff7500'}])],
                        [0.6, new echarts.graphic.LinearGradient(0, 0, 1, 0,[{offset: 0, color: '#ff7500'},{offset: 1, color: '#ff5400'}])],
                        [0.7, new echarts.graphic.LinearGradient(0, 0, 1, 0,[{offset: 0, color: '#ff5400'},{offset: 1, color: '#ff3600'}])],
                        [0.8, new echarts.graphic.LinearGradient(0, 0, 1, 0,[{offset: 0, color: '#ff3600'},{offset: 1, color: '#ff1d00'}])],
                        [0.9, new echarts.graphic.LinearGradient(0, 0, 1, 0,[{offset: 0, color: '#ff1d00'},{offset: 1, color: '#ff0700'}])],
                        [1, new echarts.graphic.LinearGradient(0, 0, 1, 0,[{offset: 0, color: '#ff1d00'},{offset: 1, color: '#ff0700'}])]
                    ]
                }
            },
            axisLabel: {show: false},
            axisTick: {show: false},
            detail: {show: false},
            pointer: {show: false},
            data:[
                {name:"昌吉换流站"}
            ]
        }
    ]
};



		var world = echarts.init(document.getElementById('world'));
 			var canvas = document.createElement('canvas');
			var mapChart = echarts.init(canvas, null, { width: 2560, height: 1440, });
			mapChart.setOption({
				//设置地球海洋颜色
    			backgroundColor:'rgba(14, 14, 14, 0.7)',
    			series : [
			        {
			            type: 'map',
			            map: 'world',
			            // 绘制完整尺寸的 echarts 实例
			            top: 0, left: 0,
			            right: 0, bottom: 0,
			            boundingCoords: [[-180, 90], [180, -90]],
			            itemStyle:{
			            	areaColor:'rgba(78, 78, 78, 0.5)',
			            	borderColor:'rgba(0, 255, 255, 0.6)',
			            	borderType:'solid',
			            },
			            emphasis:{
			            	label:{
			            		color:'#0da9c3',
			            		fontSize:24,
			            	}
			            }
			        }
			    ]
			});
		    // 指定图表的配置项和数据
			var worldOption = {
			    globe:{
			    	globeRadius:50,
			    	baseTexture: mapChart,
			    	shading:'color',
			    	viewControl:{
			    		autoRotateSpeed:10,
			    		targetCoord: [70.46,30.92]
			    	}
			    },
			    series: [{
			    	type:'lines3D',
			    	coordinateSystem:'globe',
			    	effect:{
			    		show:true,
			    		trailWidth:3,
			    		trailOpacity:0.5,
			    		trailLength:0.5,
			    		trailColor:'#f00',
			    	},
			    	lineStyle:{
			    		color:'#04b8b900',
			    	},
			    	data: [
					    [[180, 120, 1],[113.758572,23.035252]],
					    [[150, 120, 1],[113.758572,23.035252]],
					    [[120, 120, 1],[113.758572,23.035252]],
					    [[90, 120, 1],[113.758572,23.035252]],
					    [[60, 120, 1],[113.758572,23.035252]],
					    [[30, 120, 1],[113.758572,23.035252]],
					    [[0, 120, 1],[113.758572,23.035252]],
					    [[-30, 120, 1],[113.758572,23.035252]],
					    [[-60, 120, 1],[113.758572,23.035252]],
					    [[-90, 120, 1],[113.758572,23.035252]],
					    [[-120, 120, 1],[113.758572,23.035252]],
					    [[-150, 120, 1],[113.758572,23.035252]],
					    [[-180, 120, 1],[113.758572,23.035252]],
					    [[180, 180, 1],[113.758572,23.035252]],
					    [[150, 180, 1],[113.758572,23.035252]],
					    [[120, 180, 1],[113.758572,23.035252]],
					    [[90, 180, 1],[113.758572,23.035252]],
					    [[60, 180, 1],[113.758572,23.035252]],
					    [[30, 180, 1],[113.758572,23.035252]],
					    [[0, 180, 1],[113.758572,23.035252]],
					    [[-30, 180, 1],[113.758572,23.035252]],
					    [[-60, 180, 1],[113.758572,23.035252]],
					    [[-90, 180, 1],[113.758572,23.035252]],
					    [[-120, 180, 1],[113.758572,23.035252]],
					    [[-150, 180, 1],[113.758572,23.035252]],
					    [[-180, 180, 1],[113.758572,23.035252]],
					    [[180, 150, 1],[113.758572,23.035252]],
					    [[150, 150, 1],[113.758572,23.035252]],
					    [[120, 150, 1],[113.758572,23.035252]],
					    [[90, 150, 1],[113.758572,23.035252]],
					    [[60, 150, 1],[113.758572,23.035252]],
					    [[30, 150, 1],[113.758572,23.035252]],
					    [[0, 150, 1],[113.758572,23.035252]],
					    [[-30, 150, 1],[113.758572,23.035252]],
					    [[-60, 150, 1],[113.758572,23.035252]],
					    [[-90, 150, 1],[113.758572,23.035252]],
					    [[-120, 150, 1],[113.758572,23.035252]],
					    [[-150, 150, 1],[113.758572,23.035252]],
					    [[-180, 150, 1],[113.758572,23.035252]],
					    [[180, 90, 1],[113.758572,23.035252]],
					    [[150, 90, 1],[113.758572,23.035252]],
					    [[120, 90, 1],[113.758572,23.035252]],
					    [[90, 90, 1],[113.758572,23.035252]],
					    [[60, 90, 1],[113.758572,23.035252]],
					    [[30, 90, 1],[113.758572,23.035252]],
					    [[0, 90, 1],[113.758572,23.035252]],
					    [[-30, 90, 1],[113.758572,23.035252]],
					    [[-60, 90, 1],[113.758572,23.035252]],
					    [[-90, 90, 1],[113.758572,23.035252]],
					    [[-120, 90, 1],[113.758572,23.035252]],
					    [[-150, 90, 1],[113.758572,23.035252]],
					    [[-180, 90, 1],[113.758572,23.035252]],
					    [[180, 60, 1],[113.758572,23.035252]],
					    [[150, 60, 1],[113.758572,23.035252]],
					    [[120, 60, 1],[113.758572,23.035252]],
					    [[90, 60, 1],[113.758572,23.035252]],
					    [[60, 60, 1],[113.758572,23.035252]],
					    [[30, 60, 1],[113.758572,23.035252]],
					    [[0, 60, 1],[113.758572,23.035252]],
					    [[-30, 60, 1],[113.758572,23.035252]],
					    [[-60, 60, 1],[113.758572,23.035252]],
					    [[-90, 60, 1],[113.758572,23.035252]],
					    [[-120, 60, 1],[113.758572,23.035252]],
					    [[-150, 60, 1],[113.758572,23.035252]],
					    [[-180, 60, 1],[113.758572,23.035252]],
					    [[180, 30, 1],[113.758572,23.035252]],
					    [[150, 30, 1],[113.758572,23.035252]],
					    [[120, 30, 1],[113.758572,23.035252]],
					    [[90, 30, 1],[113.758572,23.035252]],
					    [[60, 30, 1],[113.758572,23.035252]],
					    [[30, 30, 1],[113.758572,23.035252]],
					    [[0, 30, 1],[113.758572,23.035252]],
					    [[-30, 30, 1],[113.758572,23.035252]],
					    [[-60, 30, 1],[113.758572,23.035252]],
					    [[-90, 30, 1],[113.758572,23.035252]],
					    [[-120, 30, 1],[113.758572,23.035252]],
					    [[-150, 30, 1],[113.758572,23.035252]],
					    [[-180, 30, 1],[113.758572,23.035252]],
					    [[180, 0, 1],[113.758572,23.035252]],
					    [[150, 0, 1],[113.758572,23.035252]],
					    [[120, 0, 1],[113.758572,23.035252]],
					    [[90, 0, 1],[113.758572,23.035252]],
					    [[60, 0, 1],[113.758572,23.035252]],
					    [[30, 0, 1],[113.758572,23.035252]],
					    [[0, 0, 1],[113.758572,23.035252]],
					    [[-30, 0, 1],[113.758572,23.035252]],
					    [[-60, 0, 1],[113.758572,23.035252]],
					    [[-90, 0, 1],[113.758572,23.035252]],
					    [[-120, 0, 1],[113.758572,23.035252]],
					    [[-150, 0, 1],[113.758572,23.035252]],
					    [[-180, 0, 1],[113.758572,23.035252]],
					    [[180, -30, 1],[113.758572,23.035252]],
					    [[150, -30, 1],[113.758572,23.035252]],
					    [[120, -30, 1],[113.758572,23.035252]],
					    [[90, -30, 1],[113.758572,23.035252]],
					    [[60, -30, 1],[113.758572,23.035252]],
					    [[30, -30, 1],[113.758572,23.035252]],
					    [[0, -30, 1],[113.758572,23.035252]],
					    [[-30, -30, 1],[113.758572,23.035252]],
					    [[-60, -30, 1],[113.758572,23.035252]],
					    [[-90, -30, 1],[113.758572,23.035252]],
					    [[-120, -30, 1],[113.758572,23.035252]],
					    [[-150, -30, 1],[113.758572,23.035252]],
					    [[-180, -30, 1],[113.758572,23.035252]],
					    [[180, -60, 1],[113.758572,23.035252]],
					    [[150, -60, 1],[113.758572,23.035252]],
					    [[120, -60, 1],[113.758572,23.035252]],
					    [[90, -60, 1],[113.758572,23.035252]],
					    [[60, -60, 1],[113.758572,23.035252]],
					    [[30, -60, 1],[113.758572,23.035252]],
					    [[0, -60, 1],[113.758572,23.035252]],
					    [[-30, -60, 1],[113.758572,23.035252]],
					    [[-60, -60, 1],[113.758572,23.035252]],
					    [[-90, -60, 1],[113.758572,23.035252]],
					    [[-120, -60, 1],[113.758572,23.035252]],
					    [[-150, -60, 1],[113.758572,23.035252]],
					    [[-180, -60, 1],[113.758572,23.035252]],
					    [[180, -90, 1],[113.758572,23.035252]],
					    [[150, -90, 1],[113.758572,23.035252]],
					    [[120, -90, 1],[113.758572,23.035252]],
					    [[90, -90, 1],[113.758572,23.035252]],
					    [[60, -90, 1],[113.758572,23.035252]],
					    [[30, -90, 1],[113.758572,23.035252]],
					    [[0, -90, 1],[113.758572,23.035252]],
					    [[-30, -90, 1],[113.758572,23.035252]],
					    [[-60, -90, 1],[113.758572,23.035252]],
					    [[-90, -90, 1],[113.758572,23.035252]],
					    [[-120, -90, 1],[113.758572,23.035252]],
					    [[-150, -90, 1],[113.758572,23.035252]],
					    [[-180, -90, 1],[113.758572,23.035252]],
					    [[180, -120, 1],[113.758572,23.035252]],
					    [[150, -120, 1],[113.758572,23.035252]],
					    [[120, -120, 1],[113.758572,23.035252]],
					    [[90, -120, 1],[113.758572,23.035252]],
					    [[60, -120, 1],[113.758572,23.035252]],
					    [[30, -120, 1],[113.758572,23.035252]],
					    [[0, -120, 1],[113.758572,23.035252]],
					    [[-30, -120, 1],[113.758572,23.035252]],
					    [[-60, -120, 1],[113.758572,23.035252]],
					    [[-90, -120, 1],[113.758572,23.035252]],
					    [[-120, -120, 1],[113.758572,23.035252]],
					    [[-150, -120, 1],[113.758572,23.035252]],
					    [[-180, -120, 1],[113.758572,23.035252]],
					    [[180, -150, 1],[113.758572,23.035252]],
					    [[150, -150, 1],[113.758572,23.035252]],
					    [[120, -150, 1],[113.758572,23.035252]],
					    [[90, -150, 1],[113.758572,23.035252]],
					    [[60, -150, 1],[113.758572,23.035252]],
					    [[30, -150, 1],[113.758572,23.035252]],
					    [[0, -150, 1],[113.758572,23.035252]],
					    [[-30, -150, 1],[113.758572,23.035252]],
					    [[-60, -150, 1],[113.758572,23.035252]],
					    [[-90, -150, 1],[113.758572,23.035252]],
					    [[-120, -150, 1],[113.758572,23.035252]],
					    [[-150, -150, 1],[113.758572,23.035252]],
					    [[-180, -150, 1],[113.758572,23.035252]],
					    [[180, -180, 1],[113.758572,23.035252]],
					    [[150, -180, 1],[113.758572,23.035252]],
					    [[120, -180, 1],[113.758572,23.035252]],
					    [[90, -180, 1],[113.758572,23.035252]],
					    [[60, -180, 1],[113.758572,23.035252]],
					    [[30, -180, 1],[113.758572,23.035252]],
					    [[0, -180, 1],[113.758572,23.035252]],
					    [[-30, -180, 1],[113.758572,23.035252]],
					    [[-60, -180, 1],[113.758572,23.035252]],
					    [[-90, -180, 1],[113.758572,23.035252]],
					    [[-120, -180, 1],[113.758572,23.035252]],
					    [[-150, -180, 1],[113.758572,23.035252]],
					    [[-180, -180, 1],[113.758572,23.035252]],
					]
			    }]
			};
		    world.setOption(worldOption);